package com.eight.travel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eight.travel.pojo.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Q小旭
 * @version 1.0
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    //根据用户名和密码查询信息
    User selectOne(String name,String pass);
    //增加一个用户
    int add(User user);

}
